<?php

namespace sixteen::dom::elements;

require_once('sixteen/dom/field.php');

class button extends sixteen::dom::field
{	
	function __construct()
	{
		parent::__construct();
		self::initAttributes();
	}
	
	function initAttributes()
	{
		$this->tag = 'input';
		$this->tagSelfClosing = true;
		
		$this->attributes = array_merge(
			$this->attributes,
			array(
				'readonly' => null,
				'tabindex' => null,
				'type' => 'button',
				'value' => 'button'
			)
		);
	}
	
}

?>